package com.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务提供controller
 */
@RestController
@RequestMapping("/provider")
public class ProviderController {

    @GetMapping("/produce")
    public Object produce(String str){
        return "开始进行生产了："+str;
    }
}
